<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
	<link rel="stylesheet" href="/css/main.css">
	<link rel="stylesheet" href="/css/font-awesome/css/font-awesome.css">
</head>
<body>
<div class="box">

	<h3>编辑公寓活动信息</h3>
	<form action="/play/edit" method="post">
		<table class="form-table">

			<tr>
				<td>开始时间</td>
				<td colspan="3" class="control">
					<input type="hidden" name="fp_id" value="${flatplay.fp_id}">
					<input type="date" name="fp_start_date"  value="<fmt:formatDate value="${flatplay.fp_start_date}" pattern="yyyy-MM-dd" />">
				</td>
			</tr>
			<tr>
				<td>结束时间</td>
				<td colspan="3" class="control">
				<input type="date" name="fp_end_date" value="<fmt:formatDate value="${flatplay.fp_end_date}" pattern="yyyy-MM-dd" />">
				</td>
			</tr>
			<tr>
				<td>活动主题</td>
				<td colspan="3" class="control">
					<input type="text" name="fp_topic" placeholder="活动主题" value="${flatplay.fp_topic}">
				</td>
			</tr>
			<tr>
				<td>活动内容介绍</td>
				<td colspan="3" class="control">
					<input type="text" name="fp_content" placeholder="活动内容介绍" value="${flatplay.fp_content}">
				</td>
			</tr>
			<tr>
				<td>活动地点</td>
				<td colspan="3" class="control">
					<input type="text" name="fp_place" placeholder="活动地点" value="${flatplay.fp_place}">

				</td>
			</tr>
			<tr>
				<td>费用</td>
				<td colspan="3" class="control">
					<input type="text" name="fp_money" placeholder="费用" value="${flatplay.fp_money}">
				</td>
			</tr>
			<tr>
				<td>活动主办方</td>
				<td colspan="3" class="control">
					<input type="text" name="fp_organizer" placeholder="活动主办方" value="${flatplay.fp_organizer}">
				</td>
			</tr>
			
		</table>
		<div class="buttons">
			<input class="btn btn-primary va-bottom" type="submit" value="保存">&nbsp;&nbsp;
			<a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
		</div>
	</form>
</div>
</body>
</html>